package com.yxw.live_vod_boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.io.Serializable;


/** 
 * @author liuxin
 * @create 2023-12-18 10:47:44 
 * @description 点播视频商品点击详情 
 */
@Data
@TableName(value ="yx_vod_product_click")
@ApiModel(value = "点播视频商品点击详情" , description="yx_vod_product_click")
public class YxVodProductClickEntity  implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "click_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="主键")
    private Long clickId;

    @TableField(value="user_id")
    @ApiModelProperty(value="人员ID")
    private Long userId;

    @TableField(value="user_name")
    @ApiModelProperty(value="人员名称")
    private String userName;

    @TableField(value="product_id")
    @ApiModelProperty(value="产品ID")
    private Long productId;

    @TableField(value="video_id")
    @ApiModelProperty(value="视频ID")
    private Long videoId;

    @TableField(value="create_time")
    @ApiModelProperty(value="创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(value="click_time")
    @ApiModelProperty(value="点击时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date clickTime;
}
